package dead;

public class Position {
	private double lat;
	private double lon;
	private long time;
	
	public Position(double lat, double lon) {
		this.lat = lat;
		this.lon = lon;
		time = System.currentTimeMillis();
	}
	
	public double getLat() {
		return lat;
	}
	
	public double getLon() {
		return lon;
	}
	
	public long getAge() {
		return System.currentTimeMillis() - time;
	}
}
